#pragma once
#ifndef BULLET_H_
#define BULLET_H_

#include "CObject.h"
#include "Weapon.h"

class Bullet : public CObject{
public:
	int m_xs, m_ys, m_direction; 
	float m_dis;
	int m_alpha;
	CWeapon* m_pParent;

	

	Bullet(){};
	Bullet(CWeapon* _parent, float _dir, float _dis);
	~Bullet();

	virtual void Step(CEntityList *_EntList, BYTE _keys[256], DIMOUSESTATE _mouse);
	virtual void Draw(Sprites* _Sprite);

	virtual void onCollision(const Vector2& result, CEntity* pCollideEnt);

};


#endif